home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 26
/
AMIGAplus Sonderheft 26 (2000)(Falke)(DE)(Track 1 of 2)[!].iso
/
Updates
/
Librarys
/
asyncioppc
/
source
/
async.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-07-04
|
681b
|
23 lines
#ifdef __PPC__
#include <clib/exec_protos.h>
#include <clib/dos_protos.h>
#else
#include <pragma/dos_lib.h>
#include <pragma/exec_lib.h>
#endif
#include <libraries/asyncio.h>
/* this macro lets us long-align structures on the stack */
#define D_S(type,name) char a_##name[ sizeof( type )+3]; type *name=(type *)((LONG)(a_##name+3)&~3);
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif
struct AsyncFile *AS_OpenAsyncFH(BPTR handle,OpenModes mode,LONG bufferSize,BOOL closeIt);
VOID AS_SendPacket(struct AsyncFile *file,APTR arg2);
LONG AS_WaitPacket(struct AsyncFile *file);
VOID AS_RequeuePacket(struct AsyncFile *file);
VOID AS_RecordSyncFailure(struct AsyncFile *file);